<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

{#{% for name in name_list %}#}
{#    {{ name }}#}
{#{% empty %}#}
{#    空空如也#}
{#{% endfor %}#}

{#{% if name_list < 6 %}#}
{#    太短了#}
{#{% elif name_list == 6 %}#}
{#    刚好#}
{#{% else %}#}
{#    太长了#}
{##}
{#{% endif %}#}

{% with name_list.4 as um %}
    {{ nm }}
{% endwith %}

{% with num=name_list.3 %}
    {{ num }}
{% endwith %}


</body>
</html>